package com.wavehi.filter;

import javax.servlet.Filter;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;

/**
 * @Author WaveHi
 * @Date 28/9/2021 上午 10:01
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description SuperClass for all filter.
 */
public abstract class BaseFilter implements Filter {
    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
        System.out.println("A filter have been created!");
    }

    @Override
    public void destroy() {
        System.out.println("A filter have been destroyed!");
    }
}
